If Application contains a large number of controllers it is difficult to manage. The asp.net area simplifies large mvc web application in to smaller groupings.
Area mvc example:
If you are creating news blog, the application divided into areas such as Admin and dashboard blog. Each area represents separate functionalities.
Creating Area in mvc:
You can create area by right click on the mvc application project solution and clicking on the areas as shown in figure.
Dashboard area for the blog:
It is used to display the blog posts.
Admin area for the blog:
It is for creating and managing the blog posts.
if you want to know how to use html beginform using areas in mvc asp.net click here .
Post your comments / questions
Recent Article
- How to create custom 404 error page in Django?
- Requested setting INSTALLED_APPS, but settings are not configured. You must either define..
- ValueError:All arrays must be of the same length - Python
- Check hostname requires server hostname - SOLVED
- How to restrict access to the page Access only for logged user in Django
- Migration admin.0001_initial is applied before its dependency admin.0001_initial on database default
- Add or change a related_name argument to the definition for 'auth.User.groups' or 'DriverUser.groups'. -Django ERROR
- Addition of two numbers in django python
Related Article